i18n: use dummy localizations to avoid dependencies
authorZygmunt Krynicki <me@zygoon.pl>
Thu, 17 Jan 2019 14:42:35 +0000 (16:42 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Tue, 17 Mar 2026 21:07:18 +0000 (22:07 +0100)
commit70c29e1fcf8d1905ef5f1af09b99119b7b679b84
treee9e1081bd0d760a84dd2793573e8030ab36f7edd
parent58a84a025724b2325d132aef286b24cc8e0a1ea3
i18n: use dummy localizations to avoid dependencies

Upstream snapd uses the github.com/ojii/gettext.go package for access to
translation catalogs. This package is currently not available in Debian
and prevents building the package. As such, replace the real
implementation with a simple dummy one that always uses the English
input strings.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Gbp-Pq: Name 0007-i18n-use-dummy-localizations-to-avoid-dependencies.patch
i18n/i18n.go
i18n/i18n_test.go